package com.lagou.orderservicerocket.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @Authther: mrwu
 * @date:2021/5/16-05
 * @Description:com.lagou.orderservicerocket.pojo
 */
@Data
@TableName("my_order")
public class Order {
  @TableId(type = IdType.ASSIGN_ID)
  private   Long id;
  private   Long userId;
  private   Long productId;
  private   Date creatTime;
  private   Date updateTime;
  //订单状态
  private   int status;
}
